
public class LapTop {
	
    String 	modelNo;
	String 	systemType = "Windows 32 bit";
	String 	color;
	boolean hasWifi = true;
	boolean hasStarted;
	int		currentMemory;
     String typeOfDocument;
	
	
	
	
	// method 1- Starting the laptop
	void start()	 
	 {
		if(hasStarted = true)
		{
			System.out.println(" System has started.");
		}
		else
		{
			System.out.println("System has not started.");
		}
	  }
	 
	 // method2  increaseMemory will increase current Memory.Returning the CurrentMemory value after increasing the memory.
	 int increaseMemory(int howmuchMemory)	 
	 {
		currentMemory = currentMemory + howmuchMemory;		
		return currentMemory;
	 }
	 	
	 // method3  find out if the wifi is connected or not
	 void browse()
	 {
		 if (hasWifi == true)
		 {
			System.out.println("Network has connected,You can browse now.");
		 }
		 
		 else
			 
		 {
			 System.out.println("Network has not connected,You can't browse."); 
		 }
	 }
	
	 
	 // method4 to give instructions to install JDK software according to system type.
	 
	 void installingJdkSoftware()
	 {	 
			if (systemType =="Windows 32 bit")
			{
				System.out.println("Install JDK 1.7 for Windows 32 bit O/S .System Type is  " + systemType);
			}
			else if (systemType =="Windows 64 bit")
			{
				System.out.println("Install JDK 1.7 for Windows 64 bit  O/S System Type is  " + systemType);
			}
			
			else if (systemType =="Mac")
			{
				System.out.println("Install JDK 1.7 for Mac O/S System Type is  " + systemType);
			}
			else 

			{
				System.out.println("Invalid System Type System  " + systemType);
			}
	 }
}
	 
	
	 

